﻿using Basic.WxApiRemoteModel;
using Basic.WxApiRemoteModel.WxBind.Model;
using WeDonekRpc.Model;

namespace Basic.WxService.Model
{
    public class RpcReplySet
    {
        public RpcReplySet ()
        {

        }

        public RpcReplySet (EventReply replySet, MsgSource source)
        {
            this.ReplyType = replySet.ReplyType;
            this.RpcMerId = source.RpcMerId;
            this.ReplyDictate = replySet.ReplyDictate;
            this.Extend = replySet.Extend;
            this.RegionId = replySet.RegionId;
            this.SystemType = source.SystemType;
        }

        /// <summary>
        /// 回复方式
        /// </summary>
        public EventReplyType ReplyType { get; set; }
        /// <summary>
        /// 所属系统类别
        /// </summary>
        public string SystemType
        {
            get;
            set;
        }

        public long RpcMerId
        {
            get;
            set;
        }
        public int? RegionId
        {
            get;
            set;
        }
        /// <summary>
        /// 扩展参数
        /// </summary>
        public string Extend
        {
            get;
            set;
        }
        /// <summary>
        /// 回复指令
        /// </summary>
        public string ReplyDictate
        {
            get;
            set;
        }
    }
}
